﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using GMS.Models.Dto;
using GMS.Models.Entity;
using GMS.Models.ResponseDto;
using GMS.Models.SearchDto;
using GMS.Utils;

namespace GMS.IServices
{
    public interface IUserInfoService
    {
        Task<UserInfo> LoginAsync(string userName, string passWord);
        Task<UserInfo> GetSingleAsync(UserInfo userInfo);
        Task<int> DeleteAsync(Guid id);
        Task<PagedList<UserInfoResponseDto>> GetMultipleAsync(UserInfoSearchDto dto);
        Task<int> AddedAsync(UserInfo user);
        Task<int> DeleteManyAsync(string ids);
        Task<int> UpdatedAsync(UserInfo userInfo);
        Task<UserInfo> GetUserAsync(Guid id);
    }
}